package com.carrent.demo.Domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Contract {
    private Integer contractId;
    private Integer userId;
    private Integer empId;
    private Integer carId;
    private String userName;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date starDate;

    private String starTime;
    private String licensePlate;
    private Double leaPrice;
    //租赁时间
    private Integer leaDay;
    private Integer conDay;
    private Double conRent;
    private Double facMoney;
    private Integer wheRenewal;
    private Integer wheReturn;
    private Double bookPrice;
    private Integer deposit;

}